<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2015/12/15
  Time: 15:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<jsp:include page="../common.jsp"/>
<body>
<div id="wrap">
  <div id="top_content">
    <jsp:include page="../head.jsp"/>
    <div id="content">
      <h1>
        添加员工信息:
      </h1>
      <form action="${base}/emp/addEmp" method="post">
        <table cellpadding="0" cellspacing="0" border="0"
               class="form_table">
          <tr>
            <td valign="middle" align="right">
              name:
            </td>
            <td valign="middle" align="left">
              <input type="text" class="inputgri" name="emp.name" />
            </td>
          </tr>
          <tr>
            <td valign="middle" align="right">
              salary:
            </td>
            <td valign="middle" align="left">
              <input type="text" class="inputgri" name="emp.sal" />
            </td>
          </tr>
          <tr>
            <td valign="middle" align="right">
              age:
            </td>
            <td valign="middle" align="left">
              <input type="text" class="inputgri" name="emp.age" />
            </td>
          </tr>
          <tr>
            <td valign="middle" align="right">
              marry:
            </td>
            <td valign="middle" align="left">
              是<input type="radio" name="emp.marry" value="true" />
              否<input type="radio" name="emp.marry" value="false" checked/>
            </td>
          </tr>
        </table>
        <p>
          <input type="submit" class="button" value="添加" />
        </p>
      </form>
    </div>
  </div>
  <jsp:include page="../foot.jsp"/>
</div>
</body>
</html>

